Cross-Version Extension for ValueSet.versionAlgorithm[x] in R5

URLhttp://hl7.org/fhir/5.0/StructureDefinition/extension-ValueSet.versionAlgorithm[x]
Version
Statusactive
Description

Cross-Version Extension for ValueSet.versionAlgorithm[x]. Valid in versions R2, R3, R4, R4B

This is a valid cross-version extension because it's counted as a new element

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionHow to compare versions
... extension ..0
... value[x] 1..Binding: todo (extensible)
.... valueStringstring
.... valueCodingCoding
... url "http://hl7.org/fhir/5.0/StructureDefinition/extension-ValueSet.versionAlgorithm[x]"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r5-vsd.versionAlgorithm[x]",
  "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ValueSet.versionAlgorithm[x]",
  "name" : "XVerExtensionValueSet.versionAlgorithm[x]R5",
  "title" : "Cross-Version Extension for ValueSet.versionAlgorithm[x] in R5",
  "status" : "active",
  "experimental" : false,
  "publisher" : "Health Level Seven International (Terminology Infrastructure)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/Vocab/index.cfm"
    }]
  }],
  "description" : "Cross-Version Extension for ValueSet.versionAlgorithm[x]. Valid in versions R2, R3, R4, R4B\r\n\r\nThis is a valid cross-version extension because it's counted as a new element",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "5.0.0",
  "kind" : "complex-type",
  "abstract" : false,
  "context" : [{
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.3"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.3"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "ValueSet"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-ValueSet"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "ValueSet"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-ValueSet"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "3.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "3.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "ValueSet"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-ValueSet"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "ValueSet"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ValueSet"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "How to compare versions",
      "definition" : "Indicates the mechanism used to compare versions to determine which ValueSet is more current.",
      "comment" : "If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.",
      "min" : 0,
      "max" : "1",
      "isModifier" : false
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "string"
      },
      {
        "code" : "Coding"
      }],
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/version-algorithm|5.0.0"
      }
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ValueSet.versionAlgorithm[x]"
    }]
  }
}